package com.yuantu.judiciary.dao;

import com.yuantu.judiciary.model.domain.MembershipCardAccountDO;
import com.yuantu.judiciary.model.domain.MembershipCardDO;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 认证信息
 *
 * @author syw
 * @since 2023-08-16
 **/
public interface IMembershipCardAccountDao extends JpaRepository<MembershipCardAccountDO, Long> {


    MembershipCardAccountDO findInfoByAccountIdAndMembershipCardId(Long accountId, Long membershipCardId);

    List<MembershipCardAccountDO> findInfosByAccountId(Long accountId);
}
